﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Autofac;
using System.Reflection;
using OpenServe.Net.Server;
using OpenServe.Net.Library.Interfaces;

namespace OpenServe.Net.Library.Utils {
    public class Bootstrap {
        public static IContainer Components() {
            var builder = new ContainerBuilder();
            builder.RegisterType<IMsgHandler>();
            //builder.RegisterAssemblyTypes(Assembly.GetCallingAssembly());

            return builder.Build();
        }
    }
}
